Skip to content

Determine branch name for nightly from the repository head - #93

Merged
Kobzol merged 1 commit into
rust-lang:masterfrom
DanielEScherzer:read-default-branch
Aug 13, 2026
Merged

Determine branch name for nightly from the repository head#93
Kobzol merged 1 commit into
rust-lang:masterfrom
DanielEScherzer:read-default-branch

Conversation

@DanielEScherzer

Copy link
Copy Markdown
Contributor

Instead of hard-coding the name to be "main". Continue to use "main" as a fallback if the head cannot be retrieved or does not have a shorthand representation.

Instead of hard-coding the name to be "main". Continue to use "main" as a
fallback if the head cannot be retrieved or does not have a shorthand
representation.

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@Kobzol
Kobzol merged commit 4b90dbe into rust-lang:master Aug 13, 2026
2 checks passed
@DanielEScherzer
DanielEScherzer deleted the read-default-branch branch August 13, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants